using System;
using System.Data.Objects;
using System.Data.EntityClient;
using DomainModel.Entities;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data;

namespace DomainModel.Context
{
    public partial class TFDbContext : DbContext
    {
        #region DbSet Properties
        public DbSet<Picture> Pictures { get; set; }  
        /*
        public DbSet<Album> Categories { get; set; }
        public DbSet<Artist> Cities { get; set; }      
        public DbSet<Track> Countries { get; set; }       
        */
        #endregion

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            /*Picture Attributes*/
            modelBuilder.Entity<Picture>().ToTable("Picture");
            modelBuilder.Entity<Picture>().HasKey(a => a.PictureID);
        }
    }
}